                
                    <?php
                        $nav = $this->cms['navbar'] === 'fixed' ? ' navbar-fixed-top' : '';
                    ?>

                    <nav class="navbar navbar-default<?= $nav ?>" role="navigation">
                        
                        <!-- Brand and toggle get grouped for better mobile display -->
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                                <span class="sr-only">Toggle navigation</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                            <a class="navbar-brand" href="<?= base_url() ?>dashboard">Brand Name</a>
                        </div>

                        <!-- Collect the nav links, forms, and other content for toggling -->
                        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                            <ul class="nav navbar-nav">
                                <li<?= isset($navigation) && $navigation === 'dashboard' ? ' class="active"' : '' ?>><a href="<?= base_url() ?>dashboard">Dashboard</a></li>
                                <li class="dropdown<?= isset($navigation) && $navigation === 'forms' ? ' active' : '' ?>">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Forms <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="<?= base_url() ?>forms/basic">Basic Form Elements</a></li>
                                        <li><a href="<?= base_url() ?>forms/advance">Advance Form Elements</a></li>
                                        <li><a href="<?= base_url() ?>forms/advance-validation">Advance Elements Validation</a></li>
                                        <li><a href="<?= base_url() ?>forms/masked">Masked Form Inputs</a></li>
                                        <li><a href="<?= base_url() ?>forms/wizard">Form Wizards</a></li>
                                        <li class="divider"></li>
                                        <li><a href="<?= base_url() ?>forms/settings">Form Settings</a></li>
                                    </ul>
                                </li>
                                <li class="dropdown<?= isset($navigation) && $navigation === 'tables' ? ' active' : '' ?>">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Tables <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="<?= base_url() ?>tables/basic">Basic Tables</a></li>
                                        <li><a href="<?= base_url() ?>tables/advance">Advance Tables</a></li>
                                        <li><a href="<?= base_url() ?>tables/advance-2">Advance Tables 2</a></li>
                                        <li><a href="<?= base_url() ?>tables/advance-3">Advance Tables 3</a></li>
                                        <li class="divider"></li>
                                        <li><a href="<?= base_url() ?>tables/settings">Table Settings</a></li>
                                    </ul>
                                </li>
                                <li class="dropdown<?= isset($navigation) && $navigation === 'containers' ? ' active' : '' ?>">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Containers <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="<?= base_url() ?>containers/tabs">Tabs</a></li>
                                        <li><a href="<?= base_url() ?>containers/panels">Basic Panels</a></li>
                                        <li class="divider"></li>
                                        <li><a href="<?= base_url() ?>containers/tab-settings">Tabs Settings</a></li>
                                        <li><a href="<?= base_url() ?>containers/panel-settings">Panel Settings</a></li>
                                    </ul>
                                </li>
                                <li class="dropdown<?= isset($navigation) && $navigation === 'galleries' ? ' active' : '' ?>">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Galleries <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="<?= base_url() ?>galleries">Galleries</a></li>
                                        <li class="divider"></li>
                                        <li><a href="<?= base_url() ?>galleries/settings">Gallery Settings</a></li>
                                    </ul>
                                </li>
                                <li><a href="<?= base_url() ?>calendar">Calendar</a></li>
                                <li><a href="<?= base_url() ?>file-manager">File Manager</a></li>
                            </ul>
                            <ul class="nav navbar-nav navbar-right">
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> User <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="#">Account Settings</a></li>
                                        <li class="divider"></li>
                                        <li><a href="#">Logout</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </nav>